﻿using B.Auth.Domain.Entity;

namespace B.Auth.APi.Application.Command.Leaves.LeaveDto
{
    public class LeaveshowDto:BaseEntity
    {
      
        public string LeaveName { get; set; }
        public string Department { get; set; }
        public int Departmentid { get; set; }
        /// <summary>
        /// 请假类型 事假，病假，婚假，丧假，产假
        /// </summary>
        public string OptionType { get; set; }
        public DateTime BeginTime { get; set; }
        public DateTime EndTime { get; set; }
        public string LeaveTimeMessage { get; set; }//请假时间信息
       
        public int WorkTime { get; set; }//总工时
        public string CheckTime { get; set; }//报道时间
        public string DepartmentHead { get; set; }//部门领导
        public string leaveReason { get; set; }//请假事由
        public bool Status { get; set; }
        public int Del {  get; set; }
        public int? ShenType { get; set; }
        public string? LeaveError { get; set; } //不通过原因
        public int? AuditStep { get; set; } = 0;//当前审批步骤

        public string? AuditNowName { get; set; }//当前审批人
    }
}
